{if condition="$miaopon['theme']['rank']['vby'] eq 'week'"}   
<div class="pannel clearfix">
    <div class="pannel_head clearfix">
        {if condition="$miaopon['theme']['rank']['btn'] eq 1"}
        <a class="text_muted pull_right" href="{:ffcms_url('label/rank')}">更多<i class="iconfont more_i">&#xe623;</i></a>
        {/if}
        <h3 class="title">{$obj.type.type_name}周{$miaopon['theme']['rank']['title']|ffcms_default='排行榜'}</h3>	
    </div>
    <ul class="vodlist clearfix">
        {feifeicms:vod num="1" type="current" order="desc" by="hits_week"}
			{include file="widget/rank_box_week"}
		{/feifeicms:vod}
		{feifeicms:vod num="9" type="'.$vo['type_id'].'" start="2" order="desc" by="hits_week"}
        <li class="part_eone">
            {in name="vo.type_id" value="$miaopon['theme']['type']['hb']"}
            <a href="{:ffcms_url_vod_play($vo,['sid'=>$vo.sid,'nid'=>1])}">
            <span class="part_nums part_num{$key+1}">{$key+1}</span><span class="text_muted pull_right renqi"><i class="iconfont">&#xe631;</i>&nbsp;{$vo.vod_hits_week}</span>{$vo.vod_name}</a>
            {else}
            <a {if condition="$miaopon['theme']['playlink']['btn'] eq 1" }href="{:ffcms_url_vod_play($vo,['sid'=>$vo.sid,'nid'=>1])}" {else/}href="{:ffcms_url_vod_detail($vo)}" {/if}>
            <span class="part_nums part_num{$key+1}">{$key+1}</span><span class="text_muted pull_right renqi"><i class="iconfont">&#xe631;</i>&nbsp;{$vo.vod_hits_week}</span>{$vo.vod_name}</a>
            {/in}
        </li>
        {/feifeicms:vod}
    </ul>
</div>{/if}
{if condition="$miaopon['theme']['rank']['vby'] eq 'month'"} 
<div class="pannel clearfix">
    <div class="pannel_head clearfix">
        {if condition="$miaopon['theme']['rank']['btn'] eq 1"}
        <a class="text_muted pull_right" href="{:ffcms_url('label/rank')}">更多<i class="iconfont more_i">&#xe623;</i></a>
        {/if}
        <h3 class="title">{$obj.type.type_name}月{$miaopon['theme']['rank']['title']|ffcms_default='排行榜'}</h3>	
    </div>
    <ul class="vodlist clearfix">
        {feifeicms:vod num="1" type="current" order="desc" by="hits_month"}
			{include file="widget/rank_box_month"}
		{/feifeicms:vod}
		{feifeicms:vod num="9" type="'.$vo['type_id'].'" start="2" order="desc" by="hits_month"}
        <li class="part_eone">
            {in name="vo.type_id" value="$miaopon['theme']['type']['hb']"}
            <a href="{:ffcms_url_vod_play($vo,['sid'=>$vo.sid,'nid'=>1])}">
            <span class="part_nums part_num{$key+1}">{$key+1}</span><span class="text_muted pull_right renqi"><i class="iconfont">&#xe631;</i>&nbsp;{$vo.vod_hits_month}</span>{$vo.vod_name}</a>
            {else}
            <a {if condition="$miaopon['theme']['playlink']['btn'] eq 1" }href="{:ffcms_url_vod_play($vo,['sid'=>$vo.sid,'nid'=>1])}" {else/}href="{:ffcms_url_vod_detail($vo)}" {/if}>
            <span class="part_nums part_num{$key+1}">{$key+1}</span><span class="text_muted pull_right renqi"><i class="iconfont">&#xe631;</i>&nbsp;{$vo.vod_hits_month}</span>{$vo.vod_name}</a>
            {/in}
        </li>
        {/feifeicms:vod}
    </ul>
</div>{/if}
{if condition="$miaopon['theme']['rank']['vby'] eq 'all'"} 
<div class="pannel clearfix">
    <div class="pannel_head clearfix">
        {if condition="$miaopon['theme']['rank']['btn'] eq 1"}
        <a class="text_muted pull_right" href="{:ffcms_url('label/rank')}">更多<i class="iconfont more_i">&#xe623;</i></a>
        {/if}
        <h3 class="title">{$obj.type.type_name}{$miaopon['theme']['rank']['title']|ffcms_default='排行榜'}</h3>	
    </div>
    <ul class="vodlist clearfix">
        {feifeicms:vod num="1" type="current" order="desc" by="hits"}
			{include file="widget/rank_box_all"}
		{/feifeicms:vod}
		{feifeicms:vod num="9" type="'.$vo['type_id'].'" start="2" order="desc" by="hits"}
        <li class="part_eone">
            {in name="vo.type_id" value="$miaopon['theme']['type']['hb']"}
            <a href="{:ffcms_url_vod_play($vo,['sid'=>$vo.sid,'nid'=>1])}">
            <span class="part_nums part_num{$key+1}">{$key+1}</span><span class="text_muted pull_right renqi"><i class="iconfont">&#xe631;</i>&nbsp;{$vo.vod_hits}</span>{$vo.vod_name}</a>
            {else}
            <a {if condition="$miaopon['theme']['playlink']['btn'] eq 1" }href="{:ffcms_url_vod_play($vo,['sid'=>$vo.sid,'nid'=>1])}" {else/}href="{:ffcms_url_vod_detail($vo)}" {/if}>
            <span class="part_nums part_num{$key+1}">{$key+1}</span><span class="text_muted pull_right renqi"><i class="iconfont">&#xe631;</i>&nbsp;{$vo.vod_hits}</span>{$vo.vod_name}</a>
            {/in}
        </li>
        {/feifeicms:vod}
    </ul>
</div>{/if}